<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>swipe 复习</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/swiper.min.css">
    <style>
        /* * {
            margin:0;
            padding:0;
        } */
        .swiper-container {
            width:375px;
            height:150px;
        }

        a {
            color:pink;
            text-decoration: none;
            -webkit-tap-highlight-color:transparent;
            /* tap-highlight-color:transparent; */
        }
        img, a { -webkit-touch-callout: none;}
        img {
            width:300px;
            height:300px;
        }

        button {
            width:200px;
            height:200px;
            border:1px solid pink;
            background:yellow;
        }
        
    </style>
</head>

<body>
    <div class="swiper-container">

        <div class="swiper-wrapper">
            <div class="swiper-slide">
                第一屏
            </div>
            <div class="swiper-slide">
                第二屏
            </div>
            <div class="swiper-slide">
                第三屏
            </div>
        </div>

        <div class="swiper-pagination"></div>





        <!-- 如果需要导航按钮 -->
        <div class="swiper-button-prev"></div>
        <div class="swiper-button-next"></div>

        <!-- 如果需要滚动条 -->
        <div class="swiper-scrollbar"></div>

    </div>

    <button>按扭</button>
    <a href="javascript:void(0)">-webkit-tranparent</a>

    <img src="imgs/xiaogou.jpg" alt="">

    <script src="js/swiper.min.js"></script>
    <script>
        // new Swiper('.swiper-container', {
        //     // direction: 'vertical', // 垂直切换选项
        //     loop: true, // 循环模式选项
        //     autoplay: true,
        //     // 如果需要分页器
        //     pagination: {
        //         el: '.swiper-pagination',
        //     },
        //     observer: true,//修改swiper自己或子元素时，自动初始化swiper
        //     observeParents: true,
        //     // 如果需要前进后退按钮
        //     navigation: {
        //         nextEl: '.swiper-button-next',
        //         prevEl: '.swiper-button-prev',
        //     },
        //     // 如果需要滚动条
        //     scrollbar: {
        //         el: '.swiper-scrollbar',
        //     },
        // })
    </script>

</body>

</html>